// flex-center
@mixin flex-center($direction: row) {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: $direction;
}

@mixin marginCenter($width: 100%) {
    margin: 0 auto;
    width: $width;
}

@mixin paragraphFormat() {
    line-height: 25px;
    text-indent: 40px;
    letter-spacing: 2px;
}


// flex-between
@mixin flex-between($direction: row) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: $direction;
}

// flex-between
@mixin flex-around($direction: row) {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: $direction;
}

//ellipsis
@mixin ellipsis() {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

//multi line ellipsis
@mixin multiline-ellipsis($num: 2) {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: $num;
    -webkit-box-orient: vertical;
    white-space: normal !important;
    word-wrap: break-word;
}